package br.pucrs.prototipoonline.xml;

import java.util.ArrayList;


/**
 * 
 * @author Ricardo Luckei
 * @author Gelson Gentil
 *
 */
public class ActionState {
	private String id;
	private String titulo;
	private ArrayList<String> incoming = new ArrayList<String>();
	private ArrayList<String> outgoing = new ArrayList<String>();

	public ActionState(String id, String titulo) {
		this.id=id;
		this.titulo=titulo;
	}
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTitulo() {
		return titulo;
	}
	public void setTitulo(String titulo) {
		this.titulo = titulo;
	}
	public void addIncomingTransition(String id) {
		incoming.add(id);
	}
	public void addOutgoingTransition(String id) {
		outgoing.add(id);
	}
	public ArrayList<String> getIncomingTransitions() {
		return incoming;
	}
	public ArrayList<String> getOutgoingTransitions() {
		return outgoing;
	}
}
